package com.example.provider.service;

import com.example.common.entity.Company;
import com.example.common.entity.Demand;
import com.example.common.entity.Message;
import com.example.common.entity.WorkRoom;

import java.io.IOException;
import java.util.List;

public interface CompanyService {
    Message applyCompany(Company company);

    Message releaseReq(Demand demand) throws IOException;

    Company searchByIdd(int id);

    List<Demand> checkBiddingByCompany(int id) throws IOException;

    List<WorkRoom> searchWorkroomByDemandId(int demandId);

    Message deleteDemand(Demand demand);
}
